/**
 * Project Name:JingZhenGu
 * File Name:Style.java
 * Package Name:com.gc.jingzhengu.vo
 * Date:2014-6-16上午10:21:03
 * Copyright (c) 2014, wangyd523@gmail.com All Rights Reserved.
 */

package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.jcptadmin.base.BaseObject;

import java.io.Serializable;

/**
 * ClassName:Style <br/>
 * Function: 车型实体. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2014-6-16 上午10:21:03 <br/>
 *
 * @author 汪渝栋
 * @version
 * @since JDK 1.6
 * @see
 */
public class Style extends BaseObject implements Parcelable,Serializable {
//    "Id":"114991","Name":"2.0L 自动 经典 领先版","Year":"2015","NowMsrp":"18.39","FullName":"现代索纳塔八 2015款 2.0L 自动 经典 领先版"
    private int Id;
    private String Name;
    private int Year;
    private String NowMsrp;
    private String FullName;
    private String MaxYEAR;
    private String MinYEAR;

    private int itemColor;


    /**
     * 年限名称
     */
    private String manufacturerName;

    /**
     * 字体颜色
     */
    private int fontColor;

    private int MakeId;
    private String MakeName;

    private int ModelId;
    private String ModelName;



    @Override
    public String toString() {
        return "Style{" +
                "fontColor=" + fontColor +
                ", Id=" + Id +
                ", Name='" + Name + '\'' +
                ", Year=" + Year +
                ", NowMsrp='" + NowMsrp + '\'' +
                ", FullName='" + FullName + '\'' +
                ", MaxYEAR='" + MaxYEAR + '\'' +
                ", MinYEAR='" + MinYEAR + '\'' +
                ", itemColor=" + itemColor +
                ", manufacturerName='" + manufacturerName + '\'' +
                ", MakeId=" + MakeId +
                ", MakeName='" + MakeName + '\'' +
                ", ModelId=" + ModelId +
                ", ModelName='" + ModelName + '\'' +
                '}';
    }

    public int getFontColor() {
        return fontColor;
    }

    public void setFontColor(int fontColor) {
        this.fontColor = fontColor;
    }

    public String getFullName() {
        return FullName;
    }

    public void setFullName(String fullName) {
        FullName = fullName;
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public int getItemColor() {
        return itemColor;
    }

    public void setItemColor(int itemColor) {
        this.itemColor = itemColor;
    }

    public int getMakeId() {
        return MakeId;
    }

    public void setMakeId(int makeId) {
        MakeId = makeId;
    }

    public String getMakeName() {
        return MakeName;
    }

    public void setMakeName(String makeName) {
        MakeName = makeName;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getMaxYEAR() {
        return MaxYEAR;
    }

    public void setMaxYEAR(String maxYEAR) {
        MaxYEAR = maxYEAR;
    }

    public String getMinYEAR() {
        return MinYEAR;
    }

    public void setMinYEAR(String minYEAR) {
        MinYEAR = minYEAR;
    }

    public int getModelId() {
        return ModelId;
    }

    public void setModelId(int modelId) {
        ModelId = modelId;
    }

    public String getModelName() {
        return ModelName;
    }

    public void setModelName(String modelName) {
        ModelName = modelName;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getNowMsrp() {
        return NowMsrp;
    }

    public void setNowMsrp(String nowMsrp) {
        NowMsrp = nowMsrp;
    }

    public int getYear() {
        return Year;
    }

    public void setYear(int year) {
        Year = year;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeInt(this.Id);
        dest.writeString(this.Name);
        dest.writeInt(this.Year);
        dest.writeString(this.NowMsrp);
        dest.writeString(this.FullName);
        dest.writeString(this.MaxYEAR);
        dest.writeString(this.MinYEAR);
        dest.writeInt(this.itemColor);
        dest.writeString(this.manufacturerName);
        dest.writeInt(this.fontColor);
        dest.writeInt(this.MakeId);
        dest.writeString(this.MakeName);
        dest.writeInt(this.ModelId);
        dest.writeString(this.ModelName);
    }

    public Style() {
    }

    protected Style(Parcel in) {
        super(in);
        this.Id = in.readInt();
        this.Name = in.readString();
        this.Year = in.readInt();
        this.NowMsrp = in.readString();
        this.FullName = in.readString();
        this.MaxYEAR = in.readString();
        this.MinYEAR = in.readString();
        this.itemColor = in.readInt();
        this.manufacturerName = in.readString();
        this.fontColor = in.readInt();
        this.MakeId = in.readInt();
        this.MakeName = in.readString();
        this.ModelId = in.readInt();
        this.ModelName = in.readString();
    }

    public static final Creator<Style> CREATOR = new Creator<Style>() {
        public Style createFromParcel(Parcel source) {
            return new Style(source);
        }

        public Style[] newArray(int size) {
            return new Style[size];
        }
    };
}
